<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <!--<meta name="viewport" content="width=device-width, initial-scale=1.0">-->
    <meta name="renderer" content="webkit"/><!-- 让360浏览器默认选择webkit内核 -->

    <!-- 全局css -->
    <link rel="shortcut icon" href="../../../static/favicon1.ico" type="image/x-icon">
    <link href="../../../static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../../../static/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="../../../static/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="../../../static/css/plugins/validate/bootstrapValidator.min.css" rel="stylesheet">
    <link href="../../../static/css/animate.css" rel="stylesheet">
    <link href="../../../static/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="../../../static/css/_fstyle.css" rel="stylesheet">
    <link href="../../../static/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="../../../static/css/plugins/webuploader/webuploader.css" rel="stylesheet">
    <link href="../../../static/css/plugins/ztree/zTreeStyle.css" rel="stylesheet">
    <link href="../../../static/css/plugins/jquery-treegrid/css/jquery.treegrid.css" rel="stylesheet"/>
    <link href="../../../static/js/plugins/jedate/skin/jedate.css" rel="stylesheet"/>
    <link href="../../../static/css/page/dateStyle.css" rel="stylesheet">
    <!-- <link href="../../../static/css/plugins/ztree/demo.css" rel="stylesheet"> -->
    <link href="../../../static/css/page/common.css" rel="stylesheet">
    <link href="../../../static/css/page/zateAdd.css" rel="stylesheet">
    <link href="../../../static/css/page/normalProject.css" rel="stylesheet">
    <link href="../../../static/css/page/modalStyle.css" rel="stylesheet">
    <link href="../../../static/css/page/weightProject.css" rel="stylesheet">
    <link href="../../../static/css/plugins/layui/css/layui.css" rel="stylesheet" media="all">
    <link href="../../../static/css/plugins/layui/global.css" rel="stylesheet" media="all">
    <!-- 全局js -->
    <script src="../../../static/js/jquery.min.js?v=2.1.4"></script>
    <script src="../../../static/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="../../../static/js/plugins/jedate/jquery.jedate.js"></script>
    <script src="../../../static/js/plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../../static/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
    <script src="../../../static/js/plugins/validate/bootstrapValidator.min.js"></script>
    <script src="../../../static/js/plugins/validate/zh_CN.js"></script>
    <script src="../../../static/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
    <script src="../../../static/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
    <script src="../../../static/js/plugins/jquery-treegrid/js/jquery.treegrid.min.js"></script>
    <script src="../../../static/js/plugins/jquery-treegrid/js/jquery.treegrid.bootstrap3.js"></script>
    <script src="../../../static/js/plugins/jquery-treegrid/extension/jquery.treegrid.extension.js"></script>
    <script src="../../../static/js/plugins/layer/layer.min.js"></script>
    <script src="../../../static/js/plugins/iCheck/icheck.min.js"></script>
    <script src="../../../static/js/plugins/layer/laydate/laydate.js"></script>
    <script src="../../../static/js/plugins/webuploader/webuploader.min.js"></script>
    <script src="../../../static/js/common/ajax-object.js"></script>
    <script src="../../../static/js/common/bootstrap-table-object.js"></script>
    <script src="../../../static/js/common/tree-table-object.js"></script>
    <script src="../../../static/js/common/web-upload-object.js"></script>
    <script src="../../../static/js/common/ztree-object.js"></script>
    <script src="../../../static/js/common/Feng.js"></script>
    <script type="text/javascript" src="../../../static/js/common/common.js"></script>

</head>

<body class="my-wrapper gray-bg">
<!--<div class="wrapper wrapper-content animated fadeInRight">-->
    <!--${layoutContent}-->
<!--</div>-->

<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">


            <div class="row">
                <div class="box box-danger">

                    <!-- form start -->
                    <form class="form-horizontal" id="advManageForm">
                        <div class="box-body">
                            <!--<input th:value="${id}" type="hidden" id="id">-->
                            <input id="id" value="" type="hidden">
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span style="color:red;">*</span>名称</label>
                                <div class="col-sm-10">
                                    <input class="form-control form-control-3" id="name" required="required" value="" maxlength="255" placeholder="" type="text">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span style="color:red;">*</span>图片地址</label>
                                <div class="col-sm-10">
                                    <input class="form-control form-control-3" id="img_url" required="required" value="" maxlength="1000" placeholder="" type="text">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span style="color:red;">*</span>首页banner变动背景色</label>
                                <div class="col-sm-10">
                                    <input class="form-control form-control-3" id="color" required="required" value="" maxlength="255" placeholder="首页banner时需添加,统一变色" type="text">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span style="color:red;">*</span>商品id</label>
                                <div class="col-sm-10">
                                    <input class="form-control form-control-3" id="goods_id" required="required" value="" maxlength="255" placeholder="商品时需添加" type="text">
                                </div>
                            </div>
                            <div  id="jump_type_1" >
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">跳转链接</label>
                                    <div class="col-sm-10">
                                        <input class="form-control form-control-3" name="jump_url" id="jump_url" required="required" maxlength="1000" placeholder="" type="text">
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span style="color:red;">*</span>跳转类型</label>
                                <div class="col-sm-10">
                                    <select name="position_id" id="jump_type" class="width_style" required>
                                        <option value="1" >app内部</option>
                                        <option value="2" >跳转第三方</option>
                                        <option value="3" >内部接口跳转重新获取URL</option>
                                        <option value="4" >跳h5页面</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span style="color:red;">*</span>平台类型</label>
                                <div class="col-sm-10">
                                    <select name="type" id="type" class="width_style" required>
                                        <option value="0" >自有</option>
                                        <option value="1" >淘宝</option>
                                        <option value="2" >京东</option>
                                        <option value="3" >拼多多</option>
                                        <option value="4" >唯品会</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span style="color:red;">*</span>广告位置</label>
                                <div class="col-sm-10">
                                    <select name="block" id="block" class="width_style" required>
                                        <option value="1" >首页banner</option>
                                        <option value="2" >开屏广告</option>
                                        <option value="3" >首页gif</option>
                                        <option value="4" >签到</option>
                                        <option value="5" >首页浮图</option>
                                        <option value="6" >个人中心banner</option>
                                        <option value="7" >活动专区</option>
                                        <option value="8" >首页活动专区背景图</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span style="color:red;">*</span>顺序</label>
                                <div class="col-sm-10">
                                    <input class="form-control form-control-3" name="sequence" id="sequence" value="" maxlength="11" placeholder="" type="number" min=1>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2">是否需要登录</label>
                            <div class="col-md-7">
                                <label class="radio-inline"><input name="is_login" type="radio" checked="checked" value="1"><span>是</span></label>
                                <label class="radio-inline"><input name="is_login" type="radio" value="0"><span>否</span></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2">是否需要拼接userid</label>
                            <div class="col-md-7">
                                <label class="radio-inline"><input name="is_need_userid" type="radio" value="1"><span>是</span></label>
                                <label class="radio-inline"><input name="is_need_userid" type="radio" checked="checked"  value="0"><span>否</span></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-2">状态</label>
                            <div class="col-md-7">
                                <label class="radio-inline"><input name="status" type="radio" checked="checked" value="1"><span>启用</span></label>
                                <label class="radio-inline"><input name="status" type="radio" value="0"><span>停用</span></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label">结束时间</label>
                            <div class="col-sm-5">
                                <input class="form-control-5" type="text" name="lv_expire_time" value=""
                                       onclick="laydate({istime: 'false', format: 'YYYY-MM-DD'})"
                                       id="end_time">
                            </div>
                        </div>
                        <!-- /.box-body -->

                        <div class="box-footer footer-save-btn">
                            <div class="btn-group">
                                <button type="button" icon="fa-check" class="btn btn-block btn-primary" onclick="AdvManageInfoDlg.updateSubmit();">保存</button>
                            </div>
                            <div class="btn-group">
                                <button type="button" icon="fa-eraser" class="btn btn-block btn-default" onclick="AdvManageInfoDlg.close()">返回</button>
                            </div>
                            <div class="tips" id="comTip" style="top:inherit;right:28%;bottom:40px;"></div>
                        </div>
                    </form>
                </div>
            </div>

        </div>

    </div>
</div>

<script src="../../../static/modular/api/advManage/advManage_info.js"></script>

<script src="../../../static/js/content.js?v=1.0.0"></script>

</body>
</html>
